#include<stdio.h>
int main()
{
    int a,b,c=0;
    scanf("%d%d%d",&a,&b,&c);
    int max,min=a;
    if(b>max)max=b;
    if(c>max)max=c;
    if(b<min)min=b;
    if(c<min)min=c;
    int mid=a+b+c-max-min;
    if(mid+min<=max||max-min>=mid)printf("Not triangle");
    else{
        if(max*max==(mid*mid+min*min))printf("Right triangle\n");
        else if(max*max<(mid*mid+min*min))printf("Acute triangle\n");
        else printf("Obtuse triangle\n");
        if(a==b||a==c||b==c)printf("Isosceles triangle\n");
        if(a==b&&b==c)printf("Equilateral triangle\n");
    }
    return 0;
}
